<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 计算机语言识别 0 1
        //               0     1      2      3      4      5         6 
        // 索引 
        var xiaobao = ['苏荃','双儿','方怡','曾柔','阿珂','建宁公主','沐剑萍'];


        // 读写属性 

        alert(xiaobao[4]);
        xiaobao[4] = '曾老师';
        alert(xiaobao);

    </script>
</body>
</html>